package com.hzit.config;

import lombok.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */

@ConfigurationProperties(prefix = "user")
@Setter
@Getter
public class User {
	private int age;
	private String username;
	@Autowired
	private Pet pet;

}
